package org.dyz.banana.platform.sample.cosumer;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FeignControllerSample {

	@Autowired
	FeignClientSample client;
	
	@GetMapping("/sample/getData")
    public  String getData() {
		return client.getData();
	}
}
